.class Lcom/direction/hold/ui/PathActivity$2;
.super Lcom/direction/hold/ui/CommonActivity$ListItemClickListener;


# instance fields
.field private synthetic a:Lcom/direction/hold/ui/PathActivity;


# direct methods
.method constructor <init>(Lcom/direction/hold/ui/PathActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/direction/hold/ui/PathActivity$2;->a:Lcom/direction/hold/ui/PathActivity;

    invoke-direct {p0, p1}, Lcom/direction/hold/ui/CommonActivity$ListItemClickListener;-><init>(Lcom/direction/hold/ui/CommonActivity;)V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 3

    invoke-virtual {p1, p3}, Landroid/widget/AdapterView;->getItemAtPosition(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/cheln/explorer/beans/FileInfo;

    invoke-virtual {p1}, Landroid/widget/AdapterView;->getAdapter()Landroid/widget/Adapter;

    move-result-object v1

    check-cast v1, Lcn/cheln/explorer/cpnt/adapter/ThumbnailAdapter;

    invoke-virtual {v1}, Lcn/cheln/explorer/cpnt/adapter/ThumbnailAdapter;->g()Z

    move-result v1

    if-eqz v1, :cond_1

    sget-object v1, Lcn/cheln/explorer/actions/OperationUtil;->c:Ljava/lang/Integer;

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    const/4 v2, 0x1

    if-eq v1, v2, :cond_1

    iget-object v0, v0, Lcn/cheln/explorer/beans/FileInfo;->isDir:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-nez v0, :cond_0

    const v0, 0x7f080051

    invoke-static {p2, v0}, Lcn/cheln/support/app/a;->a(Ljava/lang/Object;I)Landroid/view/View;

    move-result-object p0

    check-cast p0, Landroid/widget/CheckBox;

    invoke-virtual {p0}, Landroid/widget/CheckBox;->performClick()Z

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v1, p0, Lcom/direction/hold/ui/PathActivity$2;->a:Lcom/direction/hold/ui/PathActivity;

    invoke-virtual {v1, v0}, Lcom/direction/hold/ui/PathActivity;->a(Lcn/cheln/explorer/beans/FileInfo;)V

    goto :goto_0
.end method
